package com.itheima.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface IOrderDao {

    List<Order> findByCondition(Order order);

    void add(Order order);

    Map findById(Integer id);

    Integer findCountByDate(String reportDate);

    Integer findVisitsCountByDaTe(String reportDate);

    Integer findCountByMonday(String thisWeekMonday);

    Integer findVisitsCountByMonday(String thisWeekMonday);

    Integer findCountByMonth(String firstDay4ThisMonth);

    Integer findVisitsCountByMonth(String firstDay4ThisMonth);

    List<Map<String, Object>> findHotSetmeal();

    void delete(Integer id);

    Order findOrderById(Integer id);
}
